<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
	<meta charset="UTF-8">
	<title>安装通-中国智慧安装采供服务平台</title> 
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge"> 
	<meta name="description" content="安装通（azt365.com）中国大型的b2b电子商务智慧化平台,整合了国内安装行业内采购商与供应商,打通上下游产业链,信息透明共享,通过云平台,大数据,为各大企业供应商提供产品信息、企业推广,为您提供全面的安装行业资讯金融服务以及线上支付.">
	<meta name="keywords" content="安装通,azt365,江苏b2b电子商务,江苏建筑采供批发平台,江苏弱电批发,江苏消防报警系统,江苏智慧安装建筑安装,江苏安防监控系统,江苏通风设备安装,江苏通风工程安装,江苏通风工程施工,江苏消防工程材料批发,江苏消防工程材料">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <link href="/res/css/common/style.css" rel="stylesheet"> 
	 <link href="/res/css/common/css.css" rel="stylesheet"> 
	<link href="/res/css/common/azt.css" rel="stylesheet">
	<style type="text/css">
	button { border: none; }
	input[type="button"] { border: none; }
	</style>
  </head>
  <body>  
  <div style="height:90px;background:white;">
	<div class="top">
		<img onclick="window.open('/')" src="/res/images/logoAzt/indexlogo.jpg" style="margin-top:13.5px;float:left;"/>
		<big style="margin-top: 13.5px;">找回密码</big>
		<small>400-848-1365</small>
		<img src="/res/images/common/a_06.jpg" class="topImgSec"/>
	 </div>
  </div> 
   <hr style="border-top: 1px solid #ebebeb;">
  <div class="rebackPass">
	<h5>
		<img src="/res/images/common/step/state3.jpg"/> 
	</h5> 
	<div class="passReset">
		<div style="height: 40px;line-height: 40px;">
			<label>当前账号：</label>
			<span style="margin-right: 30px;width: 180px;">${username!}</span>
		</div> 
		
		<div style="display: inline-block;position: relative;height: 60px;line-height: 60px;">
			<label>新密码：</label>
			<input style="padding-left: 25px;" type="password" placeholder="6-20个字符，英文、数字符号组成" id="password1" autocomplete="off" onblur="checkPassword('password1')"/>
			 
		</div>
		<div class="passBackNotice resetPass" id="error1" style="height: 60px;line-height: 60px;top:40px;">
			<img src="/res/images/oparaStatus/noticeCl_11.jpg">
			<small></small>
		</div>
		
		<div style="display: inline-block;position: relative;">
			<label>确认密码：</label>
			<input style="padding-left: 25px;" type="password" placeholder="再次输入密码" id="password2" autocomplete="off" onblur="checkPassword('password2')"/> 
        </div>
        <div class="passBackNotice resetPass" id="error2" style="top: 110px;">
            <img src="/res/images/oparaStatus/noticeCl_11.jpg">
            <small></small>
        </div>
		<label></label>
		<input type="button" value="下一步" style="width: 135px;display: inline-block;height: 40px;" onclick="checkPassword()"/>
	</div> 
  </div>
  <div class="foot">
      <div class="footCot">
          <a href="/sysfoot/helpCenter?id=3287" target="_blank">服务条款&nbsp;&nbsp;|&nbsp;&nbsp;</a>
          <a href="/sysfoot/helpCenter?id=3288" target="_blank">关于我们&nbsp;&nbsp;|&nbsp;&nbsp;</a>
          <a href="/sysfoot/helpCenter?id=3283" target="_blank">联系我们&nbsp;&nbsp;|&nbsp;&nbsp;</a>
          <a href="/sysfoot/helpCenter" target="_blank">帮助中心</a>
      </div>
	<h6 class="footCot" style="height:30px;line-height:30px;color:#999999;">
		 沪ICP备15024004号-1 © 2015-2017 azt365.com 版权所有
	</h6>
  </div>
  </body>
  <script type="text/javascript" src="/res/js/common/jquery.1.9.1.min.js"></script>
  <#--<script type="text/javascript" src="/res/js/common/azt.js"></script>-->
  <script type="text/javascript">
	  function showError1(msg) {
          $("#error1 small").html(msg);
          $("#error1").show();
	  }

	  function clearError1() {
          $("#error1 small").html('');
          $("#error1").hide();
	  }

      function showError2(msg) {
          $("#error2 small").html(msg);
          $("#error2").show();
      }

      function clearError2() {
          $("#error2 small").html('');
          $("#error2").hide();
      }

	  function checkPassword(field) {
          clearError1();
          clearError2();
          var password1 = $('#password1').val();
          var password2 = $('#password2').val();
          if(!field) {
              field = 'password1,password2';
          }
          if(field.indexOf('password1') >= 0) {
              if(password1 == '') {
                  showError1("请输入密码");
                  return;
              }
              if(password1.indexOf(' ') >= 0) {
                  showError1("密码不能包含‘空格’");
                  return;
              }
              if(password1.length < 6 || password1.length > 20) {
                  showError1("密码为6-20个字符，可由英文、数字符号组成");
                  return;
              }
          }
          if(field.indexOf('password2') >= 0) {
              if(password2 == '') {
                  showError2("请再次输入密码");
                  return;
              }
              if(password2 != password1) {
                  showError2("两次密码输入不一致");
                  return;
              }
          }
          if(field == 'password1,password2') {
              $.ajax({
                  url: '/user/iforgotPwdCheck',
                  type: 'post',
                  dataType: 'json',
                  data: {field: field, password1: password1, password2: password2},
                  success: function (data) {
                      if (data) {
                          var flag = 0;
                          if (data.password1) {
                              if (data.password1 == 'success') {
                                  flag++;
                                  clearError1();
                              } else {
                                  showError1(data.password1);
                              }
                          }
                          if (data.password2) {
                              if (data.password2 == 'success') {
                                  flag++;
                                  clearError2();
                              } else {
                                  showError2(data.password2);
                              }
                          }
                          if (flag == 2) {
                              //点击下一步且验证全部通过
                              window.location.href = '/user/iforgotSuccess';
                          }
                      }
                  }
              });
          }
	  }
  </script>
  
<script>
(function(){
    var bp = document.createElement('script');
    var curProtocol = window.location.protocol.split(':')[0];
    if (curProtocol === 'https') {
        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';        
    }
    else {
        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
    }
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(bp, s);
})();
</script>
<div class="cnzz" style="display:none;"><script src="http://s11.cnzz.com/z_stat.php?id=1256097295&web_id=1256097295" type="text/javascript"></script></div>
  
</html>